package com.dwb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;

/**
 * @author manke
 * @date 2020-06-27 17:04:22
 * @email 
 */
@Data
@ApiModel("轮播图片")
public class SSlide {

    @ApiModelProperty(value = "自增id")
    @Id
    private Integer id;

    @ApiModelProperty(value = "所属平台（pc PC网站,h5 H5手机网站,ios 苹果APP,android 安卓APP,alipay 支付宝小程序,weixin 微信小程序,baidu 百度小程序）")
    private String platform;

    @ApiModelProperty(value = "事件类型（0 WEB页面,1 内部页面(小程序或APP内部地址),2 外部小程序(同一个主体下的小程序appid),3 打开地图,4 拨打电话）")
    private Byte eventType;

    @ApiModelProperty(value = "事件值")
    private String eventValue;

    @ApiModelProperty(value = "图片地址")
    private String imagesUrl;

    @ApiModelProperty(value = "别名")
    private String name;

    @ApiModelProperty(value = "css背景色值")
    private String bgColor;

    @ApiModelProperty(value = "是否启用（0否，1是）")
    private Boolean isEnable;

    @ApiModelProperty(value = "排序")
    private Byte sort;

    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

    @ApiModelProperty(value = "更新时间")
    private Integer updTime;

}